package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.woniuxy.entity.dto.system.RoleDTO;
import com.woniuxy.entity.po.system.Dept;
import com.woniuxy.entity.po.system.Role;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface RoleService {
   /** 
    * @Description: 
    * @Param: []
    * @return: com.woniuxy.util.ResponseData<?>
    * @Author: DirtyFlower
    * @Date: 2025/3/28
    */
    ResponseData<?> queryAll(PageParam<RoleDTO> pageParam);

    void deleteRole(Long id);
    /**
     * @Description:批量删除
     * @Param: 前端通过多选得到的数组
     * @return:
     * @Author: DirtyFlower
     * @Date: 2025/3/29
     */
    void batchDeleteRole(List<Long> ids);
    void addRole(Role role);
    void updateRole(RoleDTO roleDTO);
    Role queryIdInfo(Long id);
    List<Role> queryRole();
}
